#ifndef PhotoAPI_H
#define PhotoAPI_H

#include <QtCore>
#include "hybridplugininterface.h"

class Photo;
class QWebFrame;

class PhotoAPI : public QObject,
               public HybridPluginInterface {
    Q_OBJECT
    Q_INTERFACES(HybridPluginInterface)

public:
    PhotoAPI();

    void setEnvironment(QMainWindow *parentWindow, QWebFrame *webFrame);

    QString jsObjectName();
    QObject *jsObjectInstance();
    QString jsFileName();
    
private:
    Photo *m_photo;
};

#endif // PhotoAPI_H

